package com.mars.app.exception;

/**
 * Created by pengshuo on 2018/1/11 8:57
 * Description:
 * Modified By:
 * Version:
 *
 * @author pengshuo
 */
public class SystemException extends GlobalException {

    public SystemException(ErrorCodeMsg codeMsg) {
        super(codeMsg.getErrCode(), codeMsg.getErrMsg());
    }

    public SystemException(ErrorCodeMsg codeMsg, Throwable cause) {
        super(codeMsg.getErrCode(), codeMsg.getErrMsg(), cause);
    }
}
